#!/bin/bash

path=../data/jul2018
exe=./ana
B=0.9535

# 5mmC; B: 0.9535

# 26w NOTE that this is with Pb Target
#$exe $path/20180713_0000.dat $path/20180712.008

# 43w
$exe $path/20180713_0209.dat $path/20180713.001 -u0 -m$B

# 68w
$exe $path/20180713_0508.dat $path/20180713.002 -u0 -m$B

# helium gas chamber plugged into the mag cavity, withTa, 29w
$exe $path/20180713_1336.dat $path/20180713.005 -u0 -m$B

hadd -f C12TA.root 20180713_0209.dat_0.root 20180713_0508.dat_0.root 20180713_1336.dat_0.root

# emtpy TA; 67w
$exe $path/20180713_0920.dat $path/20180713.003 -u0 -m$B

mv 20180713_0920.dat_0.root C12NOTA.root
